<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>time-function</title>
    <style>
        .box:hover .child-box{
            width: 300px;
        }
        .child-box{
            width: 100px;
            height: 20px;
            background-color: green;
            margin: 10px;
            color: wheat;
        }
        .child-ease{
            transition: all ease 2s;
        }
        .child-linear{
            transition: all 2s linear;
        }
        .child-ease-in{
            transition: all ease-in 2s;
        }
        .child-ease-out{
            transition: all ease-out 2s;
        }
        .child-ease-in-out{
            transition: all ease-in-out 2s;
        }
        .child-bezier{
            transition: all cubic-bezier(.74, .94, 0, .96) 2s;
        }
    </style>
</head>
<body>

<div class="box">
    <div class="child-box child-ease">ease</div>
    <div class="child-box child-linear">linear</div>
    <div class="child-box child-ease-in">ease-in</div>
    <div class="child-box child-ease-out">ease-out</div>
    <div class="child-box child-ease-in-out">ease-in-out</div>
    <div class="child-box child-bezier">bezier</div>
</div>

</body>
</html>